//
//  ITDeviceOpsViewController.m
//  InduceTool
//
//  Created by 魏延龙 on 2020/9/16.
//  Copyright © 2020 魏延龙. All rights reserved.
//

#import "ITDeviceOpsViewController.h"

@interface ITDeviceOpsViewController ()

@end

@implementation ITDeviceOpsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (IBAction)settingAction:(id)sender {
    if (@available(iOS 10.0, *)) {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:^(BOOL success) {
        }];
    } else {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
    }
}

@end
